package com.hyh;


import com.hyh.feign.clients.CartClient;
import com.hyh.feign.clients.OrderClient;
import com.hyh.feign.clients.ProductClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(clients = {OrderClient.class, CartClient.class},defaultConfiguration = DefaultFeignConfiguration.class)

public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class, args);
    }
}
